// components/webList/webList.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    webList: {
      type: Object,
      value: []
    }
  },

  data: {},
  methods: {
    goToInewsDetails(e) {
      let id = e.currentTarget.dataset.item.id
      wx.redirectTo({
        url: '../../pages/inewsDetails/inewsDetails?id=' + JSON.stringify(id),
      })
    }
  }
})